touch $1/a
rm $1/a
ls $1 > $1/names.txt
cat $1/names.txt | wc -l 